package features.advance.jdk.dynamicproxy.cglib;

/**
 * @author LIN
 * @date 2021-04-26
 */
public class Main {

    public static void main(String[] args) {
        CGlibProxy proxy = new CGlibProxy();
        CGlibTargetClass target = new CGlibTargetClass();
        CGlibTargetClass proxy1 =(CGlibTargetClass) proxy.createProxy(target);
        proxy1.sayHello();
    }
}
